package com.isale.model.db;

import com.isale.common.model.db.BaseDbEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 会员表
 * 数据库表【isale_user】对应的entity对象
 *
 * @author  bjs
 * @date 2016-11-15 11:15:56
*/
@Entity
@Table(name = "isale_user")
public class IsaleUser extends BaseDbEntity implements Serializable {


// tel
@Column(name = "tel", nullable = false)
private java.lang.String tel;


// email
@Column(name = "email", nullable = false)
private java.lang.String email;


// nick name
@Column(name = "nick_name", nullable = false)
private java.lang.String nickName;






    // ================================================================================================



    /**
     * 获取对象的属性【tel】
     *
     * @return java.lang.String
     */
public java.lang.String getTel() {
        return tel;
        }

/**
 * 设置对象的属性【tel】
 * @param tel
 */
public void setTel(java.lang.String tel) {
        this.tel = tel;
        }

    /**
     * 获取对象的属性【email】
     *
     * @return java.lang.String
     */
public java.lang.String getEmail() {
        return email;
        }

/**
 * 设置对象的属性【email】
 * @param email
 */
public void setEmail(java.lang.String email) {
        this.email = email;
        }

    /**
     * 获取对象的属性【nick name】
     *
     * @return java.lang.String
     */
public java.lang.String getNickName() {
        return nickName;
        }

/**
 * 设置对象的属性【nick name】
 * @param nickName
 */
public void setNickName(java.lang.String nickName) {
        this.nickName = nickName;
        }

        // ================================================================================================

        public String toString(){
            StringBuffer sb = new StringBuffer();
            sb.append("IsaleUser=====>");
            sb.append("{");
                                sb.append("id=>"+this.id).append(", ");
                                sb.append("tel=>"+this.tel).append(", ");
                                sb.append("email=>"+this.email).append(", ");
                                sb.append("nickName=>"+this.nickName).append(", ");
                                sb.append("createTime=>"+this.createTime).append(", ");
                                sb.append("updateTime=>"+this.updateTime).append(", ");
                        sb.append("}");
            return sb.toString();
        }

}